<%@ Page Language="C#" MasterPageFile="~/TreyResearchOnlineEMR.Master" AutoEventWireup="true"
    CodeFile="Acknowledgement.aspx.cs" Inherits="Acknowledgement" Title="Trey Research - Acknowledgement" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="Server">

    <script language="javascript" type="text/javascript">
        function printPage()
        {
        //Create print page for acknowledgement
        var Ackliteral=document.getElementById('AcknowledgementText');
        printpage = window.open('','Print_Page','width=10, height=10',''); 
        printpage.document.write("<html><head><Title>Print</Title><link href=\"Css/TreyResearch.css\" rel=\"stylesheet\" type=\"text/css\" /></head><body >"); 
        printpage.document.write(" <div id=\"ContosoImageColumn\"><img src=\"images/Contoso-Health.jpg\" alt=\"Contoso Health App Auth\" />");
        printpage.document.write(" </div><div id=\"main\"><div id=\"HealthVaultImageColumn\"><img src=\"images/Tile_HealthVault_h_c.jpg\" width=\"145px\" alt=\"Title Health Vault\" /></div></div>");
        printpage.document.write("<div id=\"LiteralTextSeparator\"><hr class=\"SeparatorColor\" /></div><div id=\"LiteralTextColumn\">");
        printpage.document.write(Ackliteral.innerHTML );
        printpage.document.write("</div></body></html>"); 
        printpage.document.close();
        printpage.focus();
        printpage.print();
        printpage.close();
        }
    </script>

    <table style="width: 595px; height: 117px">
        <tr align="left">
            <td align="justify" id="AcknowledgementText" class="PageFont" colspan="2" rowspan="2"
                style="height: 510px" valign="top">
                <div id="LiteralAcknowledgement" runat="server">
                    Dear <strong> <%= Session["FriendlyName"].ToString()%></strong>:<br />
                    <br />
                    <strong><%= Session["ProviderPracticeName"].ToString()%></strong> is working with Microsoft&#174; HealthVault&#8482;
                    to enable you to exchange health information with us using a personal computer.<br />
                    <br />
                    Here's how you can participate:
                    <ol>
                        <li>&nbsp;Please access the following URL: <a href="https://account.healthvault-ppe.com/patientwelcome.aspx"
                            target="_blank">https://account.healthvault-ppe.com/patientwelcome.aspx</a> from
                            a computer connected to the internet. </li>
                        <li>Create a new free HealthVault account, or sign in to your existing HealthVault account
                            if you already have one . </li>
                        <li>Enter your identity code. This allows HealthVault to identify which health records
                            to connect with. Your identity code is : <strong><%=Request.QueryString["IDcode"].ToString()%></strong>.</li>
                        <li>Answer the verification question whose answer you shared with us. This helps prevent
                            unauthorized use of your code.You see the question after you enter the identity
                            code.</li>
                        <li>Confirm that you are connected to the right clinic. You should see our name on the
                            screen. </li>
                        <li>Select the HealthVault record that stores the information for: <strong><%= Session["FriendlyName"].ToString()%></strong>. When you create a HealthVault account, HealthVault creates
                            a health record for you. You can add more health records for other members of your
                            family. </li>
                        <li>HealthVault asks you for permission to give <strong><%=Session["FriendlyName"].ToString()%></strong>
                            access to your HealthVault health record, so that <strong><%= Session["ProviderPracticeName"].ToString()%></strong>
                            can view and copy information to your account. Please review and approve the access
                            request. If you don't approve it, <strong><%= Session["ProviderPracticeName"].ToString()%></strong>
                            cannot exchange health information with you using HealthVault. </li>
                    </ol>
                    Please feel free to contact us in case of any difficulty with the process.<br />
                    <br />
                    We'd be more than glad to help you.<br />
                    Toll free: <strong>1-800-TREY1</strong><br />
                    Email : <a href="mailto:supportpractice1@treyresearch.com">supportpractice1@treyresearch.com</a><br />
                    On the web: <a href="http://www.treyresearch.com/support?practice=1" target="_blank">
                        www.treyresearch.com/support?practice=1 </a>
                </div>
            </td>
        </tr>
        <tr>
        </tr>
        <tr>
            <td align="center" style="width: 298px">
                <a href="#" onclick="printPage();" class="HyperLink">Print</a>
            </td>
            <td align="center" style="width: 342px">
                <asp:LinkButton ID="LinkButtonDone" runat="server" CssClass="HyperLink" OnClick="LinkButtonDone_Click">Done</asp:LinkButton>
            </td>
        </tr>
    </table>
</asp:Content>
